class CartModel {
  CartModel({
      this.id,
      this.shopCartName, 
      this.shopCartCode, 
      this.shopCartPrice, 
      this.shopCartQty,});

  CartModel.fromJson(dynamic json) {
    id = json['id'];
    shopCartName = json['shopCartName'];
    shopCartCode = json['shopCartCode'];
    shopCartPrice = json['shopCartPrice'];
    shopCartQty = json['shopCartQty'];
  }
  int? id;
  String? shopCartName;
  String? shopCartCode;
  num? shopCartPrice;
  int? shopCartQty;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['shopCartName'] = shopCartName;
    map['shopCartCode'] = shopCartCode;
    map['shopCartPrice'] = shopCartPrice;
    map['shopCartQty'] = shopCartQty;
    return map;
  }

}